package com.qfedu.edu.seckill.constance;

/**
 * @author xiaobobo
 * @title: FtpConstance
 * @projectName cd-java-2404-seckill-parent
 * @description: 这个类中存放的是FTP相应的信息
 * @date 2025/1/14  14:29
 */
public class FtpConstance {

    //这个是FTP服务器的主机地址
    private static final String FTP_HOST = "10.7.183.89";

    //这个是FTP服务器的端口
    private static final Integer FTP_PORT = 21;

    //这个是FTP服务器的用户
    private static final String FTP_USER = "ftpuser";

    //这个是ftp服务器的密码
    private static final String FTP_PASSWORD = "12345678";

    //FTP上传内容的地址
    private static final String FTP_UPLOAD_PATH = "/usr/local/openresty/nginx/template/";


    public static Integer getFtpPort() {
        return FTP_PORT;
    }

    public static String getFtpHost() {
        return FTP_HOST;
    }

    public static String getFtpPassword() {
        return FTP_PASSWORD;
    }

    public static String getFtpUploadPath() {
        return FTP_UPLOAD_PATH;
    }

    public static String getFtpUser() {
        return FTP_USER;
    }
}
